package br.net.woodstock.tickettoride.spring.web.access;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import br.net.woodstock.rockframework.web.faces.spring.ViewScope;
import br.net.woodstock.tickettoride.api.access.UserService;
import br.net.woodstock.tickettoride.web.jsf.access.common.AbstractUserBean;

@Controller("userBean")
@Scope(ViewScope.VIEW_SCOPE)
public class UserBean extends AbstractUserBean {

	private static final long	serialVersionUID	= 1L;

	@Autowired(required = true)
	private UserService			userService;

	@Override
	public UserService getUserService() {
		return this.userService;
	}

}
